package com.gensdai.leliang.entity.parseBean;

import com.bluelinelabs.logansquare.annotation.JsonField;
import com.bluelinelabs.logansquare.annotation.JsonObject;

/**所有解析类的父类 接收外部message属性
 * Created by Administrator on 2017/5/24.
 */
@JsonObject
public class ParentBean {

    /**
     * code : 200
     * message : 手机认证短信发送成功
     * success : true
     * data : {"uid":"1","username":"12154545","name":"吴系挂","groupid":2,"reg_time":"1436864169","last_login_time":"0"}
     */

    @JsonField
    private int code;
    @JsonField
    private String message;
    @JsonField
    private boolean success;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }
}
